﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.AspNetCore.Http;

namespace ZSZ.AdminWeb
{
    public class AdminHelper
    {
        public static long? GetUserId(HttpContext ctx)
        {
            return Convert.ToInt64(ctx.Session.GetString("LoginUserId"));
        }
    }
}